home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Skunkware 5
/
Skunkware 5.iso
/
man
/
cat.1
/
fstopgm.1
< prev
next >
Wrap
Text File
|
1995-07-25
|
2KB
|
67 lines
ffffssssttttooooppppggggmmmm((((1111)))) XXXXEEEENNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((00006666 AAAApppprrrriiiillll 88889999)))) ffffssssttttooooppppggggmmmm((((1111))))
NNNNAAAAMMMMEEEE
fstopgm - convert a Usenix FaceSaver(tm) file into a
portable graymap
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
ffffssssttttooooppppggggmmmm [_f_s_f_i_l_e]
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
Reads a Usenix FaceSaver(tm) file as input. Produces a
portable graymap as output.
FaceSaver(tm) files sometimes have rectangular pixels.
While _f_s_t_o_p_g_m won't re-scale them into square pixels for
you, it will give you the precise _p_n_m_s_c_a_l_e command that will
do the job. Because of this, reading a FaceSaver(tm) image
is a two-step process. First you do:
fstopgm > /dev/null
This will tell you whether you need to use _p_n_m_s_c_a_l_e. Then
use one of the following pipelines:
fstopgm | pgmnorm
fstopgm | pnmscale -whatever | pgmnorm
To go to PBM, you want something more like one of these:
fstopgm | pnmenlarge 3 | pgmnorm | pgmtopbm
fstopgm | pnmenlarge 3 | pnmscale <whatever> | pgmnorm | pgmtopbm
You want to enlarge when going to a bitmap because otherwise
you lose information; but enlarging by more than 3 does not
look good.
FaceSaver is a registered trademark of Metron Computerware
Ltd. of Oakland, CA.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
pgmtofs(1), pgm(5), pgmnorm(1), pnmenlarge(1), pnmscale(1),
pgmtopbm(1)
AAAAUUUUTTTTHHHHOOOORRRR
Copyright (C) 1989 by Jef Poskanzer.
Page 1 (printed 9/7/93)